package com.rjpacket.supernews.app.fragments;

import android.app.Activity;
import android.content.Intent;
import android.net.Uri;
import android.os.Bundle;

import android.support.v4.app.Fragment;
import android.view.LayoutInflater;
import android.view.View;
import android.view.ViewGroup;

import com.rjpacket.supernews.app.Constants;
import com.rjpacket.supernews.app.MainActivity;
import com.rjpacket.supernews.app.R;


public class TutorialFragment extends Fragment {

    public TutorialFragment() {
    }

    @Override
    public View onCreateView(LayoutInflater inflater, ViewGroup container,
                             Bundle savedInstanceState) {
        Bundle bundle = getArguments();
        int layoutId = R.layout.item_fragment_tutorial_01;
        if (bundle != null) {
            layoutId = bundle.getInt(Constants.TUTORIAL_ID, R.layout.item_fragment_tutorial_01);
        }
        View view = inflater.inflate(layoutId, container, false);
        return view;
    }
}
